package com.nk.iexam.models;

public class Category implements IModel
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1340130250955035803L;
	private long _id;
	private long _subjectId;
	private String _name;
	private String _knowdledge;

	public Category()
	{
	}
	
	public Category(long id_, long subjectId_, String name_, String knowdledge_)
	{
		_id = id_;
		_subjectId = subjectId_;
		_name = name_;
		_knowdledge = knowdledge_;
	}
	
	public long getId()
	{
		return _id;
	}
	
	public void setId(long id_)
	{
		_id = id_;
	}
	
	public long getSubjectId()
	{
		return _subjectId;
	}
	
	public void setSubjectId(long subjectId_)
	{
		_subjectId = subjectId_;
	}
	
	public String getName()
	{
		return _name;
	}
	
	public void setName(String name_)
	{
		_name = name_;
	}
	
	public String getKnowdledge()
	{
		return _knowdledge;
	}
	
	public void setKnowdledge(String knowdledge_) 
	{
		_knowdledge = knowdledge_;
	}
	
	@Override
    public String toString() {
        return new StringBuilder().append(_id).append(" - ").append(_name).toString();
    }
}
